<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/metals/bom/metalsbom_edit.js"></script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/equip/accep_editEntity.shtml">
		<input type="hidden" class="form-control checkacc" value="${equipAccp.id}"
			name="equipAccepFormMap.id" id="id">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">设备编号：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh" 
							placeholder="请输入设备编号" name="equipAccepFormMap.registNo" id="workcenter_no" value="${equipAccp.registNo}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">供应商名称：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入供应商名称"
							name="equipAccepFormMap.supplier"  value="${equipAccp.supplier }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">检验项目：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入检验项目"
							name="equipAccepFormMap.checkItem"  value="${equipAccp.checkItem }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">内容描述：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入内容描述"
							name="equipAccepFormMap.contentDescription"  value="${equipAccp.contentDescription }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">标准：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入标准"
							name="equipAccepFormMap.standard"  value="${equipAccp.standard }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">安装：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入安装"
							name="equipAccepFormMap.install"  value="${equipAccp.install }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">调试：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入调试"
							name="equipAccepFormMap.test"  value="${equipAccp.test }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">判断结果：</label>
					<div class="col-sm-9">
						<select class="form-control" name="equipAccepFormMap.judgeResult">
							<option value="0" ${equipAccp.judgeResult==0 ? 'selected' :'' }>--请选择--</option>
							<option value="1" ${equipAccp.judgeResult==1 ? 'selected' :'' }>合格</option>
							<option value="2" ${equipAccp.judgeResult==2 ? 'selected' :'' }>不合格</option>
							
						</select>
				</div>
				</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
					<label class="col-sm-3 control-label">验收人：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入验收人"
							name="equipAccepFormMap.checkPeople"  value="${equipAccp.checkPeople }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
			
			<div class="form-group">
					<label class="col-sm-3 control-label">部门：</label>
					<div class="col-sm-9">
						<select class="form-control" name="equipApplyFormMap.fillPeopleId">
							<c:forEach var="key" items="${findByAll}" >
								<option value="${key.id }" ${key.id==equipAccp.fillPeopleId ? 'selected' :'' }>${key.name }</option>	
							</c:forEach>
						</select>
						</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
			
			<div class="form-group">
					<label class="col-sm-3 control-label">状态：</label>
					<div class="col-sm-9">
						<select class="form-control" name="equipAccepFormMap.status">
							<option value="1" <c:if test="${equipAccp.status eq 1}"> SELECTED</c:if>>正常</option>
							<option value="2" <c:if test="${equipAccp.status eq 2}"> SELECTED</c:if>>删除</option>
							
						</select>
			</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			
			</div>
			<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
	</section>
	</form>
</body>
</html>